![]() |
DrawThemeMenuBackground |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Draws a menu background.
OSStatus DrawThemeMenuBackground ( const Rect *inMenuRect, ThemeMenuType inMenuType );
A pointer to a structure of type Rect. Before calling DrawThemeMenuBackground, set the rectangle to contain the entire menu, in global coordinates.
A value of type ThemeMenuType. Pass a constant specifying the type of menu for which to draw a background; see
A result code.
The DrawThemeMenuBackground function draws a theme-compliant menu background in the specified rectangle.
This function is available with Appearance Manager 1.0.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)